 <div class="sidebar-nav">
        <form class="search form-inline">
            <input type="text" placeholder="Search...">
        </form>

        <a href="#dashboard-menu" class="nav-header" data-toggle="collapse"><i class="icon-dashboard"></i>图书管理</a>
        <ul id="dashboard-menu" class="nav nav-list collapse {if condition="($Request.controller == 'Booktype') OR ($Request.controller == 'Book')"} in{/if}">
            <li class="{if condition="($Request.controller == 'Booktype')"/}active{/if}"><a href="{:url('booktype/index')}">图书类别管理</a></li>
            <li class="{if condition="($Request.controller == 'Book')"/}active{/if}"><a href="{:url('book/index')}">图书管理</a></li>
        </ul>

        <a href="#accounts-menu" class="nav-header" data-toggle="collapse"><i class="icon-briefcase"></i>留言管理</a>
        <ul id="accounts-menu" class="nav nav-list collapse {if condition="($Request.controller == 'Comment')"/} in {/if}">
            <li class="{if condition="($Request.controller.'/'.$Request.action == 'Comment/bookcomment')"/}active{/if}"><a href="{:url('comment/libcomment')}">图书馆留言管理</a></li>
            <li ><a href="{:url('comment/bookcomment')}">图书留言管理</a></li>
       
        </ul>

        <a href="#error-menu" class="nav-header collapsed" data-toggle="collapse"><i class="icon-exclamation-sign"></i>Error Pages <i class="icon-chevron-up"></i></a>
        <ul id="error-menu" class="nav nav-list collapse">
            <li ><a href="403.html">403 page</a></li>
            <li ><a href="404.html">404 page</a></li>
            <li ><a href="500.html">500 page</a></li>
            <li ><a href="503.html">503 page</a></li>
        </ul>

        <a href="#legal-menu" class="nav-header" data-toggle="collapse"><i class="icon-legal"></i>Legal</a>
        <ul id="legal-menu" class="nav nav-list collapse">
            <li ><a href="privacy-policy.html">Privacy Policy</a></li>
            <li ><a href="terms-and-conditions.html">Terms and Conditions</a></li>
        </ul>

        <a href="help.html" class="nav-header" ><i class="icon-question-sign"></i>Help</a>
        <a href="faq.html" class="nav-header" ><i class="icon-comment"></i>Faq</a>
    </div>
    